Content Block Function

The content block and content blockEX tags are used to display a content block on an Ektron CMS400.NET Web page.

Shown here is the format for the content block function:

<CFMODULE template="#request.ecm.AppPath#ecmContentBlock.cfm"

ID=""

>

Shown here is the format for the content blockEX function:

<CFMODULE template="#request.ecm.AppPath#ecmContentBlockEx.cfm"

ID=""

XSLT=""

Override=""

>

This functions are basically the same as the ContentBlock and ContenBlockEX function in ASP. See Content Block Function for details.

The only difference between the Coldfusion function and the ASP one is the syntax for implementing it. The ColdFusion examples are below.

Static Content Block

          <tr>

              <td>

                 <CFMODULE id="1" template="#request.ecm.AppPath#ecmContentBlock.cfm">

              </td>

          </tr>

Dynamic Content Block

          <tr>

            <td>

                 <CFMODULE id="#id#" template="#request.ecm.AppPath#ecmContentBlock.cfm">

            </td>

          </tr>

XML Content Block

            <tr>

              <td>

                <CFMODULE id="13" XSLT= “” override= “1”

                template="#request.ecm.AppPath#ecmContentBlockEx.cfm">

              </td>

            </tr>

Previous TopicNext Topic|